import { NewsService } from './news.service';
import { VideoService } from 'src/video/video.service';
import { Controller, Get } from '@nestjs/common';

@Controller('news')
export class NewsController {
  constructor(
    private readonly newsService: NewsService,
    private readonly videoService: VideoService,
  ) {}
  @Get()
  getNews() {
    return this.newsService.msg() + this.videoService.getVideo();
  }
}
